namespace Bean.Infrastructure;

public class RedisDatabase
{
    /// <summary>
    /// 
    /// </summary>
    public string EndPoint { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public int Port { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    public string Password { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public string DefaultDatabase { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public SsHInfo SSH { get; set; }
    
    
    public class SsHInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public string Host { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int Port { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
}